mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Select: Allow custom value for selects (#19775)
* WIP: simple poc of allow custom value for selects * Add support for custom value in segment * Update snapshots
This commit is contained in:
@@ -43,6 +43,7 @@ exports[`Render should disable log analytics credentials form 1`] = `
|
||||
className="width-25"
|
||||
>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
@@ -138,6 +139,7 @@ exports[`Render should enable azure log analytics load workspaces button 1`] = `
|
||||
className="width-25"
|
||||
>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
@@ -233,6 +235,7 @@ exports[`Render should render component 1`] = `
|
||||
className="width-25"
|
||||
>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
|
||||
@@ -18,6 +18,7 @@ exports[`Render should disable azure monitor secret input 1`] = `
|
||||
Azure Cloud
|
||||
</Component>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className="width-15"
|
||||
@@ -163,6 +164,7 @@ exports[`Render should disable azure monitor secret input 1`] = `
|
||||
className="width-25"
|
||||
>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
@@ -233,6 +235,7 @@ exports[`Render should enable azure monitor load subscriptions button 1`] = `
|
||||
Azure Cloud
|
||||
</Component>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className="width-15"
|
||||
@@ -368,6 +371,7 @@ exports[`Render should enable azure monitor load subscriptions button 1`] = `
|
||||
className="width-25"
|
||||
>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
@@ -438,6 +442,7 @@ exports[`Render should render component 1`] = `
|
||||
Azure Cloud
|
||||
</Component>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className="width-15"
|
||||
@@ -573,6 +578,7 @@ exports[`Render should render component 1`] = `
|
||||
className="width-25"
|
||||
>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
|
||||
@@ -68,6 +68,7 @@ exports[`Render PromQueryEditor with basic options should render 1`] = `
|
||||
Resolution
|
||||
</div>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
@@ -134,6 +135,7 @@ exports[`Render PromQueryEditor with basic options should render 1`] = `
|
||||
Format
|
||||
</div>
|
||||
<Select
|
||||
allowCustomValue={false}
|
||||
autoFocus={false}
|
||||
backspaceRemovesValue={true}
|
||||
className=""
|
||||
|
||||
Reference in New Issue
Block a user