Camelcase dataset key for react

feature/default_network_editable
Dan Finlay 8 years ago
parent 03168c6b91
commit 6d6130e2a6
  1. 4
      ui/app/components/shapeshift-form.js
  2. 6
      ui/app/first-time/restore-vault.js
  3. 6
      ui/app/send.js

@ -69,7 +69,7 @@ ShapeshiftForm.prototype.renderMain = function () {
h('input#fromCoin.buy-inputs.ex-coins', {
type: 'text',
list: 'coinList',
dataset: {
dataSet: {
persistentFormId: 'input-coin',
},
style: {
@ -165,7 +165,7 @@ ShapeshiftForm.prototype.renderMain = function () {
h('input#fromCoinAddress.buy-inputs', {
type: 'text',
placeholder: `Your ${coin} Refund Address`,
dataset: {
dataSet: {
persistentFormId: 'refund-address',
},
style: {

@ -41,7 +41,7 @@ RestoreVaultScreen.prototype.render = function () {
// wallet seed entry
h('h3', 'Wallet Seed'),
h('textarea.twelve-word-phrase.letter-spacey', {
dataset: {
dataSet: {
persistentFormId: 'wallet-seed',
},
placeholder: 'Enter your secret twelve word phrase here to restore your vault.',
@ -52,7 +52,7 @@ RestoreVaultScreen.prototype.render = function () {
type: 'password',
id: 'password-box',
placeholder: 'New Password (min 8 chars)',
dataset: {
dataSet: {
persistentFormId: 'password',
},
style: {
@ -67,7 +67,7 @@ RestoreVaultScreen.prototype.render = function () {
id: 'password-box-confirm',
placeholder: 'Confirm Password',
onKeyPress: this.onMaybeCreate.bind(this),
dataset: {
dataSet: {
persistentFormId: 'password-confirmation',
},
style: {

@ -138,7 +138,7 @@ SendTransactionScreen.prototype.render = function () {
h('input.large-input', {
name: 'address',
placeholder: 'Recipient Address',
dataset: {
dataSet: {
persistentFormId: 'recipient-address',
},
}),
@ -154,7 +154,7 @@ SendTransactionScreen.prototype.render = function () {
style: {
marginRight: 6,
},
dataset: {
dataSet: {
persistentFormId: 'tx-amount',
},
}),
@ -192,7 +192,7 @@ SendTransactionScreen.prototype.render = function () {
width: '100%',
resize: 'none',
},
dataset: {
dataSet: {
persistentFormId: 'tx-data',
},
}),

Loading…
Cancel
Save