File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,12 @@ export abstract class Select extends selectBaseClass {
106
106
*/
107
107
@property ( ) label = '' ;
108
108
109
+ /**
110
+ * Disables the asterisk on the floating label, when the select is
111
+ * required.
112
+ */
113
+ @property ( { type : Boolean , attribute : 'no-asterisk' } ) noAsterisk = false ;
114
+
109
115
/**
110
116
* Conveys additional information below the select, such as how it should
111
117
* be used.
@@ -395,6 +401,7 @@ export abstract class Select extends selectBaseClass {
395
401
aria-controls="listbox"
396
402
class="field"
397
403
label=${ this . label }
404
+ ?no-asterisk=${ this . noAsterisk }
398
405
.focused=${ this . focused || this . open }
399
406
.populated=${ ! ! this . displayText }
400
407
.disabled=${ this . disabled }
You can’t perform that action at this time.
0 commit comments