Skip to content

Commit

Permalink
Fix default value of required prop
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoshino committed Dec 27, 2024
1 parent 2184270 commit 8df9468
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/** @type {boolean} */
export let readonly = false;
/** @type {boolean} */
export let required = false;
export let required = true;
/** @type {boolean} */
export let invalid = false;
/** @type {{ label: string, value: string, searchValue?: string }[]} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
/** @type {boolean} */
export let readonly = false;
/** @type {boolean} */
export let required = false;
export let required = true;
/** @type {boolean} */
export let invalid = false;
/** @type {{ label: string, value: string, searchValue?: string }[]} */
export let options;
$: ({ required = true, dropdown_threshold = 5 } = fieldConfig);
$: ({ dropdown_threshold = 5 } = fieldConfig);
$: {
// Allow to deselect an option if the field is optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/**
* @type {boolean}
*/
export let required = false;
export let required = true;
/**
* @type {boolean}
*/
Expand Down

0 comments on commit 8df9468

Please sign in to comment.