Skip to content
Snippets Groups Projects
Commit cd193dc2 authored by Greg Fodor's avatar Greg Fodor
Browse files

Fix up alpha mode

parent 11b7cabd
No related branches found
No related tags found
No related merge requests found
src/assets/images/dropdown_arrow.png

206 B | W: | H:

src/assets/images/dropdown_arrow.png

185 B | W: | H:

src/assets/images/dropdown_arrow.png
src/assets/images/dropdown_arrow.png
src/assets/images/dropdown_arrow.png
src/assets/images/dropdown_arrow.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/images/dropdown_arrow@2x.png

302 B | W: | H:

src/assets/images/dropdown_arrow@2x.png

270 B | W: | H:

src/assets/images/dropdown_arrow@2x.png
src/assets/images/dropdown_arrow@2x.png
src/assets/images/dropdown_arrow@2x.png
src/assets/images/dropdown_arrow@2x.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/images/mic_small.png

298 B | W: | H:

src/assets/images/mic_small.png

272 B | W: | H:

src/assets/images/mic_small.png
src/assets/images/mic_small.png
src/assets/images/mic_small.png
src/assets/images/mic_small.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/images/mic_small@2x.png

298 B | W: | H:

src/assets/images/mic_small@2x.png

451 B | W: | H:

src/assets/images/mic_small@2x.png
src/assets/images/mic_small@2x.png
src/assets/images/mic_small@2x.png
src/assets/images/mic_small@2x.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -168,7 +168,11 @@ class LinkRoot extends Component { ...@@ -168,7 +168,11 @@ class LinkRoot extends Component {
pattern="[0-9A-I]*" pattern="[0-9A-I]*"
value={this.state.entered} value={this.state.entered}
onChange={ev => { onChange={ev => {
this.setState({ entered: ev.target.value }); if (!this.state.isAlphaMode && ev.target.value.match(/[a-z]/i)) {
this.setState({ isAlphaMode: true });
}
this.setState({ entered: ev.target.value.toUpperCase() });
}} }}
placeholder={this.state.isAlphaMode ? "- - - -" : "- - - - - -"} placeholder={this.state.isAlphaMode ? "- - - -" : "- - - - - -"}
/> />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment