theme changes, and accessibility htmlfor

This commit is contained in:
Víctor Losada Hernández
2026-09-05 23:24:47 +02:00
parent 99429c08cd
commit ff8bc69591
5 changed files with 86 additions and 67 deletions
+2
View File
@@ -7,6 +7,7 @@ const Combobox = createReactClass({
displayName : 'Combobox',
getDefaultProps : function() {
return {
id : '',
className : '',
trigger : 'hover',
default : '',
@@ -75,6 +76,7 @@ const Combobox = createReactClass({
onClick= {this.props.trigger == 'click' ? ()=>{this.handleDropdown(true);} : undefined}
{...(this.props.tooltip ? { 'data-tooltip-right': this.props.tooltip } : {})}>
<input
id={this.props.id}
type='text'
onChange={(e)=>this.handleInput(e)}
value={this.state.value || ''}
+1 -1
View File
@@ -4,7 +4,7 @@
.item i {
position : absolute;
right : 10px;
color : black;
color : inherit;
}
.dropdown-options {
position : absolute;