Add required prop to Select.

Upgrade sveld to set paths correctly on Windows.
Make Prettier script compatible with Windows and run it.
This commit is contained in:
Harald Brunner 2022-01-03 13:29:59 +01:00
commit 3ffdd5f22b
14 changed files with 49 additions and 48 deletions

View file

@ -95,6 +95,12 @@ export interface SelectProps
* @default null
*/
ref?: null | HTMLSelectElement;
/**
* Set to `true` to mark the field as required
* @default false
*/
required?: boolean;
}
export default class Select extends SvelteComponentTyped<