set triggerfield(value) {
    const val = stringUtils.stringToBool(stringUtils.stringToBool(value));
    if (val) {
      this.setAttribute(attributes.TRIGGERFIELD, val.toString());
    } else {
      this.removeAttribute(attributes.TRIGGERFIELD);
    }
    this.input?.classList[this.triggerfield ? 'add' : 'remove']('has-triggerfield');
  }
/**
   * Set to true if the input is a triggr field
   * @param {boolean|string} value If true will set `triggerfield` attribute
   */
Set to true if the input is a triggr field
@param {boolean|string} value If true will set `triggerfield` attribute
Set to true if the input is a triggr field @param { boolean|string } value If true will set ` triggerfield ` attribute
set triggerfield(value) {
    const val = stringUtils.stringToBool(stringUtils.stringToBool(value));
    if (val) {
      this.setAttribute(attributes.TRIGGERFIELD, val.toString());
    } else {
      this.removeAttribute(attributes.TRIGGERFIELD);
    }
    this.input?.classList[this.triggerfield ? 'add' : 'remove']('has-triggerfield');
  }
set triggerfield ( value ) { const val = stringUtils . stringToBool ( stringUtils . stringToBool ( value ) ) ; if ( val ) { this . setAttribute ( attributes . TRIGGERFIELD , val . toString ( ) ) ; } else { this . removeAttribute ( attributes . TRIGGERFIELD ) ; } this . input ?. classList [ this . triggerfield ? 'add' : 'remove' ] ( 'has-triggerfield' ) ; }
Set to true if the input is a triggr field
 @param {boolean|string} value If true will set `triggerfield` attribute
Set to true if the input is a triggr field @param { boolean|string } value If true will set ` triggerfield ` attribute