@fctc/widget-logic 3.8.3 → 3.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5419,7 +5419,7 @@ var many2oneFieldController = (props) => {
5419
5419
  methods?.setValue(name, null);
5420
5420
  setTempSelectedOption(null);
5421
5421
  } else if (propValue) {
5422
- if (isForm && optionsObject?.service && optionsObject?.type && optionsObject?.model && !propValue?.display_name) {
5422
+ if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
5423
5423
  fetchGetDetail.mutate(
5424
5424
  {
5425
5425
  model: optionsObject?.model,
package/dist/index.mjs CHANGED
@@ -5499,7 +5499,7 @@ var many2oneFieldController = (props) => {
5499
5499
  methods?.setValue(name, null);
5500
5500
  setTempSelectedOption(null);
5501
5501
  } else if (propValue) {
5502
- if (isForm && optionsObject?.service && optionsObject?.type && optionsObject?.model && !propValue?.display_name) {
5502
+ if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
5503
5503
  fetchGetDetail.mutate(
5504
5504
  {
5505
5505
  model: optionsObject?.model,
package/dist/widget.js CHANGED
@@ -4656,7 +4656,7 @@ var many2oneFieldController = (props) => {
4656
4656
  methods?.setValue(name, null);
4657
4657
  setTempSelectedOption(null);
4658
4658
  } else if (propValue) {
4659
- if (isForm && optionsObject?.service && optionsObject?.type && optionsObject?.model && !propValue?.display_name) {
4659
+ if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
4660
4660
  fetchGetDetail.mutate(
4661
4661
  {
4662
4662
  model: optionsObject?.model,
package/dist/widget.mjs CHANGED
@@ -4713,7 +4713,7 @@ var many2oneFieldController = (props) => {
4713
4713
  methods?.setValue(name, null);
4714
4714
  setTempSelectedOption(null);
4715
4715
  } else if (propValue) {
4716
- if (isForm && optionsObject?.service && optionsObject?.type && optionsObject?.model && !propValue?.display_name) {
4716
+ if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
4717
4717
  fetchGetDetail.mutate(
4718
4718
  {
4719
4719
  model: optionsObject?.model,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "3.8.3",
3
+ "version": "3.8.4",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",