@eturnity/eturnity_reusable_components 8.7.5-EPDM-12618.2 → 8.7.5-EPDM-12459.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.7.5-EPDM-12618.2",
3
+ "version": "8.7.5-EPDM-12459.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -168,7 +168,9 @@
168
168
  position: relative;
169
169
  font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
170
170
  color: ${(props) =>
171
- props.isDisabled
171
+ props.isError
172
+ ? props.theme.colors.grey6
173
+ : props.isDisabled
172
174
  ? props.theme.colors.grey2
173
175
  : props.fontColor
174
176
  ? props.fontColor + ' !important'
@@ -154,7 +154,7 @@
154
154
  </OptionsItem>
155
155
  </OptionsWrapper>
156
156
  <CustomContainer
157
- v-if="getCustomName.length && allowFreeInputs"
157
+ v-if="inputText.length && allowFreeInputs"
158
158
  @click="onCustomNameClick()"
159
159
  >
160
160
  <CustomName>{{ getCustomName }}</CustomName>
@@ -551,7 +551,7 @@
551
551
  },
552
552
  computed: {
553
553
  getCustomName() {
554
- return this.inputText.trim()
554
+ return this.inputText
555
555
  },
556
556
  theme() {
557
557
  return theme
@@ -645,7 +645,7 @@
645
645
  },
646
646
  onCustomNameClick() {
647
647
  this.wasClicked = true
648
- this.$emit('on-custom-input-name', this.getCustomName)
648
+ this.$emit('on-custom-input-name', this.inputText)
649
649
  this.$emit('toggle-dropdown-open', { close: true })
650
650
  this.inputText = ''
651
651
  },