mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Add required
prop to Select. (#968)
Upgrade sveld to set paths correctly on Windows. Make Prettier script compatible with Windows and run it.
This commit is contained in:
parent
26db657868
commit
6458c97c1a
14 changed files with 49 additions and 48 deletions
6
types/Select/Select.svelte.d.ts
vendored
6
types/Select/Select.svelte.d.ts
vendored
|
@ -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<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue