mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
prettier
This commit is contained in:
@@ -156,4 +156,4 @@ Textareas will automatically resize to expand to fit their content when `resize`
|
||||
import WaTextarea from '@shoelace-style/shoelace/dist/react/textarea';
|
||||
|
||||
const App = () => <WaTextarea resize="auto" />;
|
||||
```
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { aTimeout, expect, fixture } from '@open-wc/testing';
|
||||
import { expect, fixture } from '@open-wc/testing';
|
||||
import type { WebAwesomeFormControl } from '../webawesome-element.js';
|
||||
|
||||
type CreateControlFn = () => Promise<WebAwesomeFormControl>;
|
||||
|
||||
@@ -393,7 +393,7 @@ export class WebAwesomeFormAssociated
|
||||
/**
|
||||
* Called when the browser is trying to restore element’s state to state in which case reason is “restore”, or when the browser is trying to fulfill autofill on behalf of user in which case reason is “autocomplete”. In the case of “restore”, state is a string, File, or FormData object previously set as the second argument to setFormValue.
|
||||
*/
|
||||
formStateRestoreCallback(state: string | File | FormData | null, _reason: string) {
|
||||
formStateRestoreCallback(state: string | File | FormData | null) {
|
||||
this.value = state;
|
||||
|
||||
this.setValidity({});
|
||||
|
||||
Reference in New Issue
Block a user