Fixed bugs with state extension.
This commit is contained in:
parent
5cd7736afa
commit
fe18c50bdc
@ -136,109 +136,109 @@ IgniteTemplate.prototype.states = function(placeholder = null, shorthand = true)
|
||||
|
||||
if (shorthand) {
|
||||
html += `
|
||||
<option value='AK'>AK</option>
|
||||
<option value='AL'>AL</option>
|
||||
<option value='AR'>AR</option>
|
||||
<option value='AZ'>AZ</option>
|
||||
<option value='CA'>CA</option>
|
||||
<option value='CO'>CO</option>
|
||||
<option value='CT'>CT</option>
|
||||
<option value='DE'>DE</option>
|
||||
<option value='FL'>FL</option>
|
||||
<option value='GA'>GA</option>
|
||||
<option value='HI'>HI</option>
|
||||
<option value='IA'>IA</option>
|
||||
<option value='ID'>ID</option>
|
||||
<option value='IL'>IL</option>
|
||||
<option value='IN'>IN</option>
|
||||
<option value='KS'>KS</option>
|
||||
<option value='KY'>KY</option>
|
||||
<option value='LA'>LA</option>
|
||||
<option value='MA'>MA</option>
|
||||
<option value='MD'>MD</option>
|
||||
<option value='ME'>ME</option>
|
||||
<option value='MI'>MI</option>
|
||||
<option value='MN'>MN</option>
|
||||
<option value='MO'>MO</option>
|
||||
<option value='MS'>MS</option>
|
||||
<option value='MT'>MT</option>
|
||||
<option value='NC'>NC</option>
|
||||
<option value='ND'>ND</option>
|
||||
<option value='NE'>NE</option>
|
||||
<option value='NH'>NH</option>
|
||||
<option value='NJ'>NJ</option>
|
||||
<option value='NM'>NM</option>
|
||||
<option value='NV'>NV</option>
|
||||
<option value='NY'>NY</option>
|
||||
<option value='OH'>OH</option>
|
||||
<option value='OK'>OK</option>
|
||||
<option value='OR'>OR</option>
|
||||
<option value='PA'>PA</option>
|
||||
<option value='RI'>RI</option>
|
||||
<option value='SC'>SC</option>
|
||||
<option value='SD'>SD</option>
|
||||
<option value='TN'>TN</option>
|
||||
<option value='TX'>TX</option>
|
||||
<option value='UT'>UT</option>
|
||||
<option value='VA'>VA</option>
|
||||
<option value='VT'>VT</option>
|
||||
<option value='WA'>WA</option>
|
||||
<option value='WI'>WI</option>
|
||||
<option value='WV'>WV</option>
|
||||
<option value='WY'>WY</option>
|
||||
<option value='Alaska'>AK</option>
|
||||
<option value='Alabama'>AL</option>
|
||||
<option value='Arkansas'>AR</option>
|
||||
<option value='Arizona'>AZ</option>
|
||||
<option value='California'>CA</option>
|
||||
<option value='Colorado'>CO</option>
|
||||
<option value='Connecticut'>CT</option>
|
||||
<option value='Delaware'>DE</option>
|
||||
<option value='Florida'>FL</option>
|
||||
<option value='Georgia'>GA</option>
|
||||
<option value='Hawaii'>HI</option>
|
||||
<option value='Iowa'>IA</option>
|
||||
<option value='Idaho'>ID</option>
|
||||
<option value='Illinois'>IL</option>
|
||||
<option value='Indiana'>IN</option>
|
||||
<option value='Kansas'>KS</option>
|
||||
<option value='Kentucky'>KY</option>
|
||||
<option value='Louisiana'>LA</option>
|
||||
<option value='Massachusetts'>MA</option>
|
||||
<option value='Maryland'>MD</option>
|
||||
<option value='Maine'>ME</option>
|
||||
<option value='Michigan'>MI</option>
|
||||
<option value='Minnesota'>MN</option>
|
||||
<option value='Missouri'>MO</option>
|
||||
<option value='Mississippi'>MS</option>
|
||||
<option value='Montana'>MT</option>
|
||||
<option value='North Carolina'>NC</option>
|
||||
<option value='North Dakota'>ND</option>
|
||||
<option value='Nebraska'>NE</option>
|
||||
<option value='New Hampshire'>NH</option>
|
||||
<option value='New Jersey'>NJ</option>
|
||||
<option value='New Mexico'>NM</option>
|
||||
<option value='Nevada'>NV</option>
|
||||
<option value='New York'>NY</option>
|
||||
<option value='Ohio'>OH</option>
|
||||
<option value='Oklahoma'>OK</option>
|
||||
<option value='Oregon'>OR</option>
|
||||
<option value='Pennsylvania'>PA</option>
|
||||
<option value='Rhode Island'>RI</option>
|
||||
<option value='South Carolina'>SC</option>
|
||||
<option value='South Dakota'>SD</option>
|
||||
<option value='Tennessee'>TN</option>
|
||||
<option value='Texas'>TX</option>
|
||||
<option value='Utah'>UT</option>
|
||||
<option value='Virginia'>VA</option>
|
||||
<option value='Vermont'>VT</option>
|
||||
<option value='Washington'>WA</option>
|
||||
<option value='Wisconsin'>WI</option>
|
||||
<option value='West Virginia'>WV</option>
|
||||
<option value='Wyoming'>WY</option>
|
||||
`;
|
||||
} else {
|
||||
html += `
|
||||
<option value=Alabama'>Alabama</option>
|
||||
<option value=Alaska'>Alaska</option>
|
||||
<option value=Arizona'>Arizona</option>
|
||||
<option value=Arkansas'>Arkansas</option>
|
||||
<option value=California'>California</option>
|
||||
<option value=Colorado'>Colorado</option>
|
||||
<option value=Connecticut'>Connecticut</option>
|
||||
<option value=Delaware'>Delaware</option>
|
||||
<option value=Florida'>Florida</option>
|
||||
<option value=Georgia'>Georgia</option>
|
||||
<option value=Hawaii'>Hawaii</option>
|
||||
<option value=Idaho'>Idaho</option>
|
||||
<option value=Illinois'>Illinois</option>
|
||||
<option value=Indiana'>Indiana</option>
|
||||
<option value=Iowa'>Iowa</option>
|
||||
<option value=Kansas'>Kansas</option>
|
||||
<option value=Kentucky'>Kentucky</option>
|
||||
<option value=Louisiana'>Louisiana</option>
|
||||
<option value=Maine'>Maine</option>
|
||||
<option value=Maryland'>Maryland</option>
|
||||
<option value=Massachusetts'>Massachusetts</option>
|
||||
<option value=Michigan'>Michigan</option>
|
||||
<option value=Minnesota'>Minnesota</option>
|
||||
<option value=Mississippi'>Mississippi</option>
|
||||
<option value=Missouri'>Missouri</option>
|
||||
<option value=Montana'>Montana</option>
|
||||
<option value=Nebraska'>Nebraska</option>
|
||||
<option value=Nevada'>Nevada</option>
|
||||
<option value=New Hampshire'>New Hampshire</option>
|
||||
<option value=New Jersey'>New Jersey</option>
|
||||
<option value=New Mexico'>New Mexico</option>
|
||||
<option value=New York'>New York</option>
|
||||
<option value=North Carolina'>North Carolina</option>
|
||||
<option value=North Dakota'>North Dakota</option>
|
||||
<option value=Ohio'>Ohio</option>
|
||||
<option value=Oklahoma'>Oklahoma</option>
|
||||
<option value=Oregon'>Oregon</option>
|
||||
<option value=Pennsylvania'>Pennsylvania</option>
|
||||
<option value=Rhode Island'>Rhode Island</option>
|
||||
<option value=South Carolina'>South Carolina</option>
|
||||
<option value=South Dakota'>South Dakota</option>
|
||||
<option value=Tennessee'>Tennessee</option>
|
||||
<option value=Texas'>Texas</option>
|
||||
<option value=Utah'>Utah</option>
|
||||
<option value=Vermont'>Vermont</option>
|
||||
<option value=Virginia'>Virginia</option>
|
||||
<option value=Washington'>Washington</option>
|
||||
<option value=West Virginia'>West Virginia</option>
|
||||
<option value=Wisconsin'>Wisconsin</option>
|
||||
<option value=Wyoming'>Wyoming</option>
|
||||
<option value='Alabama'>Alabama</option>
|
||||
<option value='Alaska'>Alaska</option>
|
||||
<option value='Arizona'>Arizona</option>
|
||||
<option value='Arkansas'>Arkansas</option>
|
||||
<option value='California'>California</option>
|
||||
<option value='Colorado'>Colorado</option>
|
||||
<option value='Connecticut'>Connecticut</option>
|
||||
<option value='Delaware'>Delaware</option>
|
||||
<option value='Florida'>Florida</option>
|
||||
<option value='Georgia'>Georgia</option>
|
||||
<option value='Hawaii'>Hawaii</option>
|
||||
<option value='Idaho'>Idaho</option>
|
||||
<option value='Illinois'>Illinois</option>
|
||||
<option value='Indiana'>Indiana</option>
|
||||
<option value='Iowa'>Iowa</option>
|
||||
<option value='Kansas'>Kansas</option>
|
||||
<option value='Kentucky'>Kentucky</option>
|
||||
<option value='Louisiana'>Louisiana</option>
|
||||
<option value='Maine'>Maine</option>
|
||||
<option value='Maryland'>Maryland</option>
|
||||
<option value='Massachusetts'>Massachusetts</option>
|
||||
<option value='Michigan'>Michigan</option>
|
||||
<option value='Minnesota'>Minnesota</option>
|
||||
<option value='Mississippi'>Mississippi</option>
|
||||
<option value='Missouri'>Missouri</option>
|
||||
<option value='Montana'>Montana</option>
|
||||
<option value='Nebraska'>Nebraska</option>
|
||||
<option value='Nevada'>Nevada</option>
|
||||
<option value='New Hampshire'>New Hampshire</option>
|
||||
<option value='New Jersey'>New Jersey</option>
|
||||
<option value='New Mexico'>New Mexico</option>
|
||||
<option value='New York'>New York</option>
|
||||
<option value='North Carolina'>North Carolina</option>
|
||||
<option value='North Dakota'>North Dakota</option>
|
||||
<option value='Ohio'>Ohio</option>
|
||||
<option value='Oklahoma'>Oklahoma</option>
|
||||
<option value='Oregon'>Oregon</option>
|
||||
<option value='Pennsylvania'>Pennsylvania</option>
|
||||
<option value='Rhode Island'>Rhode Island</option>
|
||||
<option value='South Carolina'>South Carolina</option>
|
||||
<option value='South Dakota'>South Dakota</option>
|
||||
<option value='Tennessee'>Tennessee</option>
|
||||
<option value='Texas'>Texas</option>
|
||||
<option value='Utah'>Utah</option>
|
||||
<option value='Vermont'>Vermont</option>
|
||||
<option value='Virginia'>Virginia</option>
|
||||
<option value='Washington'>Washington</option>
|
||||
<option value='West Virginia'>West Virginia</option>
|
||||
<option value='Wisconsin'>Wisconsin</option>
|
||||
<option value='Wyoming'>Wyoming</option>
|
||||
`;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user